<%--
  Created by IntelliJ IDEA.
  User: tjcu
  Date: 2019/12/5
  Time: 9:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1" cellspacing="1" cellpadding="4">
    <tr>
        <td>用户名</td>
        <td>密码</td>
        <td>出生日期</td>
        <td>性别</td>
    </tr>
  <c:forEach var="stu" items="${students}" >
    <tr>
        <td>${stu.sname2}</td>
        <td>${stu.password}</td>
        <td>${stu.birthday}</td>
        <td>${stu.sex}</td>
    </tr>
  </c:forEach>
</table>
</body>
</html>
